home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
UTILITY1
/
MSWLGO35.ZIP
/
EXAMPLES
/
SOUNDS.MCI
< prev
next >
Wrap
Text File
|
1993-08-10
|
683b
|
31 lines
;
; Function:
;
; This routine will play a couple Windows supplied WAVE files.
;
; To run:
;
; load "sounds.mci
; Call SOUNDS
;
; System requirements:
;
; You must have Windows 3.1 (or 3.0 with Multi-Media Extentions)
; You must have the correct driver loaded in Windows for your sound card.
; You must have a sound card.
;
to sounds
print mci [open c:/windows/tada.wav type waveaudio alias wa]
print mci [open c:/windows/ding.wav type waveaudio alias w2]
mci [seek wa to start]
mci [play wa wait]
repeat 2~
[~
mci [seek w2 to start]~
mci [play w2 wait]~
]
mci [close w2]
mci [seek wa to start]
(mci [play wa notify] [mci [close wa]])
end